package com.seng.userservice.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.seng.userservice.entity.TbUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seng.userservice.vo.TbUserLoginVO;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author seng
 * @since 2020-07-20
 */
public interface TbUserMapper extends BaseMapper<TbUser> {
    IPage<TbUser> findStudentPage(Page<TbUser> page, @Param(Constants.WRAPPER) QueryWrapper<TbUser> wrapper);

}
